package com.hotel.tv.application.admin;

import com.autumn.exception.AutumnError;
import com.autumn.exception.ErrorLevel;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * </p>
 *
 * @description TODO
 * @author: 老码农
 * @create: 2020-04-07 10:19
 **/
@Getter
@Setter
public class HotelException extends RuntimeException implements AutumnError {

    private int code;
    private ErrorLevel level;

    public HotelException(String message){
        super(message);
    }
}
